package com.ruoyi.project.custom.mapper;

import com.ruoyi.project.custom.domain.CustomFollow;
import com.ruoyi.project.custom.domain.vo.CustomFollowVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomFollowMapper {
    /**
     * 查询客户关联的沟通记录
     * @param customId
     * @return
     */
    List<CustomFollow> selectCustomFollowList(String customId);

    /**
     * 查询跟进信息
     * @param followVo
     * @return
     */
    List<CustomFollowVo> selectFollowList(CustomFollowVo followVo);

    /**
     * 新增沟通记录
     * @param follow
     * @return
     */
    int insertCustomFollow(CustomFollow follow);

    /**
     * 修改沟通记录
     * @param follow
     * @return
     */
    int updateCustomFollow(CustomFollow follow);

    /**
     * 删除沟通记录
     * @param id
     * @return
     */
    int deleteCustomFollow(@Param("id") int id);
}
